<!-- command tag -->
<!DOCTYPE html>
<html>
<head>
<script>
<function save>
{
alert("some javaScript...");

</script>
</head>
<body>

<menu>
<command type="command" label="save">
<Onclick="save()"> save</command>
</menu>

</body>
</html>